package com.unswift.cloud.pojo.dao.logger.login.record;

import java.util.Date;
import java.util.List;

import com.unswift.annotation.api.ApiEntity;
import com.unswift.annotation.api.ApiField;
import com.unswift.annotation.api.ApiConstructor;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

import com.unswift.cloud.pojo.dao.PageDo;
import com.unswift.cloud.pojo.dao.sql.Sql;

import com.unswift.cloud.pojo.po.logger.LoggerLoginRecord;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
@SuppressWarnings("serial")
@JsonInclude(Include.NON_NULL)
@ApiEntity(value="登录记录分页查询条件实体", author="liyunlong", date="2024-04-06", version="1.0.0")
public class LoggerLoginRecordPageDo extends LoggerLoginRecord implements PageDo{
	
	@ApiField("创建时间查询-开始")
	private Date createStartTime;
	
	@ApiField("创建时间查询-结束")
	private Date createEndTime;
	
	@ApiField("变更时间查询-开始")
	private Date changeStartTime;
	
	@ApiField("变更时间查询-结束")
	private Date changeEndTime;
	
	@ApiField("主键集合查询")
	private List<Long> idList;
	
	@ApiField("查询的sql对象")
	private Sql sql;
	
	@ApiField("当前页")
	private Integer firstSize;
	
	@ApiField("查询条数")
	private Integer pageSize;

	@ApiField("当前页")
	private Integer currPage;

	@ApiConstructor("默认构造-设置默认查询未删除")
	public LoggerLoginRecordPageDo(){
		this.setIsDelete(0);
	}
}
